<?php
include 'connect_database.php';

$url=$_POST["url"];
$content = $_POST["content"];
$filename = $_POST["name"];

$result = mysql_query("INSERT INTO supplement (flag,filename,supplement_content,videoAddress) VALUES (1,'$filename','$content','$url')") or die("Invalid query: " . mysql_error()); 

echo $result ;

header("location:supplement_list.php");

?>
